package com.xiaoshuidi.cloud.module.report.service.bigdata;

import com.xiaoshuidi.cloud.module.report.controller.bigdata.vo.*;

import java.util.Date;
import java.util.List;

public interface OverviewTransactionService {

    /**
     * 获取付款流出各类型占比
     *
     * @return {@link PaymentOutflowVO}
     */
    PaymentOutflowRatioVO getPaymentOutflowData(Date startTime,Date endTime, Long aptId);


    /**
     * 年月营收数据分析
     *
     * @return {@link YearMonthRevenueVO}
     */
    List<YearMonthRevenueVO> getYearMonthRevenueStatistics();

    /**
     * 获取收款流入数据
     *
     * @return {@link ReceiptInflowVO}
     */
    ReceiptInflowVO getReceiptInflowData(Date startTime,Date endTime, Long aptId);

    /**
     * 获取交易详情
     *
     * @return {@link TransactionDetailsVO}
     */
    TransactionDetailsVO getTransactionDetails(Date startTime, Date endTime, Long aptId);
}
